package com.uuzuche.lib_zxing;

/**
 * Title:Zxing角度的配置类
 * Description:
 * CreateTime:2017/6/27  17:59
 *
 * @author luyongjiang
 * @version 1.0
 */
public class ZXingConfig {
    /**
     * 设置方向
     */
    private static int ORIENTATION = 0;
    /**
     * 是否开启连续扫描
     */
    private static boolean IS_RESTART_SCAN = true;

    public static int getORIENTATION() {
        return ORIENTATION;
    }

    public static void setORIENTATION(int ORIENTATION) {
        ZXingConfig.ORIENTATION = ORIENTATION;
    }

    public static boolean isRestartScan() {
        return IS_RESTART_SCAN;
    }

    public static void setIsRestartScan(boolean isRestartScan) {
        IS_RESTART_SCAN = isRestartScan;
    }
}
